package com.jwsoft.manager.common.enums;
/**
 * @author lvxk
 * @date 2022-03-10
 * @description
 **/
public enum EduSchoolLockAuditEnum {
    WQR("0","未确认"),
    TG("1","通过"),
    BTG("2","不通过"),
    QRSB("3","确认失败"),
    WSD("0","未锁定"),
    YSD("1","已锁定"),
    LYSB("2","锁定失败");

    private String type;
    private String name;

    EduSchoolLockAuditEnum(String type, String name) {
        this.type = type;
        this.name = name;
    }

    public String getType() {
        return this.type;
    }

    public String getName() {
        return this.name;
    }

    public static EduSchoolLockAuditEnum getByType(String type) {

        for (EduSchoolLockAuditEnum typeEnum : values()) {
            if (typeEnum.getType().equals(type)) {
                return typeEnum;
            }
        }
        return null;
    }
}
